import { ObjectId } from "mongodb";
import { BaseRequest, BaseResponse, BaseConf } from "../base";
import { file } from '../../../shared/types/Folder';

export interface ReqNewFolder extends BaseRequest {
    path:Array<string>
    course:ObjectId
    name:string
}

export interface ResNewFolder extends BaseResponse {
    folders:Array<string>
    files:Array<file>
}

export const conf: BaseConf = {
    needLogin: true,
}